package com.ruoyi.factory.buyprice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购行情wh上游物料对象 t_bumawh_raw_body
 * 
 * @author ljj
 * @date 2024-06-11
 */
public class BumawhRawBody extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 表头id */
    @Excel(name = "表头id")
    private Long bumaHeadId;

    /** 上游原料名称 */
    @Excel(name = "上游原料名称")
    private String rawname;

    /** 比例 */
    @Excel(name = "比例")
    private String ratio;

    /** 行情价格 */
    @Excel(name = "行情价格")
    private BigDecimal marketPrice;

    /** 选择时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "选择时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcCreator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcCreatedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcLastmodifier;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcLastmodifydate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcRowversion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcUpdatehelp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBumaHeadId(Long bumaHeadId)
    {
        this.bumaHeadId = bumaHeadId;
    }

    public Long getBumaHeadId()
    {
        return bumaHeadId;
    }
    public void setRawname(String rawname) 
    {
        this.rawname = rawname;
    }

    public String getRawname() 
    {
        return rawname;
    }
    public void setRatio(String ratio) 
    {
        this.ratio = ratio;
    }

    public String getRatio() 
    {
        return ratio;
    }
    public void setMarketPrice(BigDecimal marketPrice)
    {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getMarketPrice()
    {
        return marketPrice;
    }
    public void setSedate(Date sedate) 
    {
        this.sedate = sedate;
    }

    public Date getSedate() 
    {
        return sedate;
    }
    public void setFgcCreator(String fgcCreator) 
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator() 
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate) 
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate() 
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier) 
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier() 
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate) 
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate() 
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion) 
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion() 
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp) 
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }

    public String getFgcUpdatehelp() 
    {
        return fgcUpdatehelp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bumaHeadId", getBumaHeadId())
            .append("rawname", getRawname())
            .append("ratio", getRatio())
            .append("marketPrice", getMarketPrice())
            .append("sedate", getSedate())
            .append("fgcCreator", getFgcCreator())
            .append("fgcCreatedate", getFgcCreatedate())
            .append("fgcLastmodifier", getFgcLastmodifier())
            .append("fgcLastmodifydate", getFgcLastmodifydate())
            .append("fgcRowversion", getFgcRowversion())
            .append("fgcUpdatehelp", getFgcUpdatehelp())
            .toString();
    }
}
